﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Text;
using System.Globalization;
using System.Configuration;

using ECCIT;
using OgilvyOne.Sharan.Model;
using OgilvyOne.Sharan.IDAL;
using OgilvyOne.Sharan.DALFactory;


namespace OgilvyOne.Sharan.BLL
{
    public class LikeCountBLL
    {
        public ResultInfo Increment(int? langID, int? id)
        {
            return LikeCountDALFactory.Create(langID).Increment(id);
        }

        public ResultInfo GetMaxCount(int? langID, int? id)
        {
            return LikeCountDALFactory.Create(langID).GetMaxCount(id);
        }

        public ResultInfo GetModels(int? langID)
        {
            return LikeCountDALFactory.Create(langID).GetModels();
        }
    }
}